package com.zttek.videoShareProject.modules.mapper;

import com.baomidou.mybatisplus.plugins.Page;
import com.zttek.videoShareProject.common.json.VideoVO;
import com.zttek.videoShareProject.modules.model.Video;
import com.zttek.videoShareProject.common.base.MyBaseMapper;
import javafx.scene.control.Pagination;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author CBY
 * @since 2018-07-03
 */
public interface VideoMapper extends MyBaseMapper<Video> {

    /**
     * 搜索返回2*4条视频数据
     */
    List<Video> searchVideo(@Param("search")String search,
                                          @Param("videotype")String videotype);
    List<Video> searchVideo2(@Param("search")String search);
}